package com.captcha.demo.Facade;

public class FacadeLight {
    private ILight diningLight = new DiningLight();
    private ILight livingRoomLight = new LivingRoomLight();

    public void on() {
        diningLight.on();
        livingRoomLight.on();
    }

    public void off() {
        diningLight.off();
        livingRoomLight.off();
    }
}
